<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    

<div class="navbar navbar-default" id="navbar">
	<script type="text/javascript">
		try {
			ace.settings.check('navbar', 'fixed')
		} catch (e) {
		}
	</script>

	<div class="navbar-container" id="navbar-container">
		<div class="navbar-header pull-left">
			<a href="#" class="navbar-brand"> <small> <i
					class="icon-home"></i> 乐参与CRM系统
			</small>
			</a>
			<!-- /.brand -->
		</div>
		<!-- /.navbar-header -->

		<div class="navbar-header pull-right" role="navigation">
			<ul class="nav ace-nav">

				<li class="light-blue"><a data-toggle="dropdown" href="#"
					class="dropdown-toggle"> <img class="nav-user-photo"
						src="assets/avatars/user.jpg" alt="Jason's Photo" /> <span
						class="user-info"> <small>欢迎光临,</small>
							用户名
					</span> <i class="icon-caret-down"></i>
				</a>

					<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li class="divider"></li>

						<li><a href="javascript:;" id="logout"> <i
								class="icon-off"></i> 退出
						</a></li>
					</ul></li>
			</ul>
			<!-- /.ace-nav -->
		</div>
		<!-- /.navbar-header -->
	</div>
	<!-- /.container -->
</div>
<script type="text/javascript">
	$(function() {
		$("#logout").click(function() {
			console.log("logout");
			$.post('Home/removemsg', {}, function(msg) {
				if (msg == 'ok') {
					location.reload();
				}
			})
		});
	});
</script>